﻿<Window x:Class="THEMXOASUA.HOADONWIN"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           Loaded="Window_Loaded_1"
        Title="THÊM MỚI HÓA ĐƠN" Height="500" Width="500"
     >
    <Grid Margin="10,20,20,10">
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="60"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Label Content="Số hoá đơn" Grid.Row="0" Grid.Column="0" />
        <Label Content="Hàng hoá" Grid.Row="1" Grid.Column="0" />
        <Label Content="Số lượng" Grid.Row="2" Grid.Column="0" />
        <Label Content="Đơn giá" Grid.Row="3" Grid.Column="0" />
        <Label Content="Diễn giải" Grid.Row="4" Grid.Column="0" />
        <TextBox Name="txtSoHD"  Grid.Row="0" Grid.Column="1"  Margin="3"/>
        <ComboBox Name="cboHangHoa" Text="tv" Grid.Row="1" Grid.Column="1"  Margin="3"/>
        <TextBox Name="txtSoLuong"  Grid.Row="2" Grid.Column="1"  Margin="3"/>
        <TextBox Name="txtDonGia"  Grid.Row="3" Grid.Column="1"  Margin="3"/>
        <TextBox Name="txtDienGiai"  Grid.Row="4" Grid.Column="1" Margin="3"/>
        <Button Content="Lưu" Click="Button_Click_1" Grid.Row="5" Grid.Column="1" Width="100" Height="50"  Margin="0,0,120,0" HorizontalAlignment="Right"/>
        <Button Content="Thoát" Click="Button_Click_2" Grid.Row="5" Grid.Column="1" Width="100" Height="50"  Margin="0,0,5,0" HorizontalAlignment="Right"/>

    </Grid>
</Window>


